Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 7 Dec 2009 06:38:06 +0000 (06:38 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 7 Dec 2009 06:38:06 +0000 (06:38 +0000)
commiteb0238b9284a1ac4a3f693c234a1062e9e2d56ac
treeb05ed87acaaffeb288f93d15b1bd8be267c32613
parente8ca357909e7a31ea81d99bf74531f17e6c97efd
Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
Berbain <raphael.berbain@gmail.com>.

* net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
characters.
(tramp-initial-end-of-output): New defconst.
(tramp-methods, tramp-find-shell)
(tramp-open-connection-setup-interactive-shell)
(tramp-maybe-open-connection): Use it.
(tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
existence of `#' and `$'.

* net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
`tramp-initial-end-of-output'.
lisp/ChangeLog
lisp/net/tramp-fish.el
lisp/net/tramp.el